package com.smart.validate.utils;

/**
 * @author weaponry MrYe
 * @program smart-validator
 * @description
 * @created 2020-07-19 18:11
 */
public class Tuple2<T1, T2> {
    final T1 t1;
    final T2 t2;

    public Tuple2(T1 t1, T2 t2) {
        this.t1 = t1;
        this.t2 = t2;
    }

    public T1 _1() {
        return t1;
    }

    public T2 _2() {
        return t2;
    }
}
